package com.example.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private Integer id;//主键ID
    private String username;//用户名
    private String password;//密码
    private String nickname;//昵称
    private String email;//邮箱
    private String userPic;//用户头像地址
    private Integer gender;//性别:0-未知 1-男 2-女
    private Integer age;//年龄
    private LocalDateTime createTime;//创建时间
    private LocalDateTime updateTime;//更新时间
    private Integer role; // 1-读者 2-企业/组织 3-管理员‌:ml-citation{ref="5" data="citationList"}
    private String address;
    private Integer status; // 0-正常 1-停用‌:ml-citation{ref="4" data="citationList"}
    private String phone;//手机号
    private Integer readingPoints;//阅读积分
}
